package com.sy.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sy.entity.AdminUser;
import com.sy.entity.Member;
import com.sy.entity.Subject;
import lombok.Builder;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * description: OrdersDto <br>
 * date: 2022/6/24 1:12 AM <br>
 * author: zoumaoji <br>
 * version: 1.0 <br>
 */
@Data
public class OrdersDto {
    private Integer id;
    private Integer subjectId;
    private Integer memberId;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date dealTime;
    private SubjectDto subject;
    private Member member;
    private double price;

}
